package org.app.Entity.Auth;

import org.app.Entity.User;

public class CustomPrincipal {
    private User user;
    private String group_id;

    public void setUser(User user) {
        this.user = user;
    }

    public void setGroupId(String group_id) {
        this.group_id = group_id;
    }

    public CustomPrincipal(User user, String groupId) {
        this.user = user;
        this.group_id = groupId;
    }

    public User getUser() {
        return user;
    }

    public String getGroupId() {
        return group_id;
    }

}
